<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Visitation</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="commonmark-interfaces-ivisitor.enter.html">« CommonMark\Interfaces\IVisitor::enter</a></li>
      <li style="float: right;"><a href="class.commonmark-interfaces-ivisitable.html">CommonMark\Interfaces\IVisitable »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.commonmark-interfaces-ivisitor.html">CommonMark\Interfaces\IVisitor</a></li>
    <li>Visitation</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="commonmark-interfaces-ivisitor.leave" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">CommonMark\Interfaces\IVisitor::leave</h1>
  <p class="verinfo">(cmark &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">CommonMark\Interfaces\IVisitor::leave</span> &mdash; <span class="dc-title">Visitation</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-commonmark-interfaces-ivisitor.leave-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><strong>CommonMark\Interfaces\IVisitor::leave</strong></span>(<span class="methodparam"><span class="type"><span class="type IVisitable">IVisitable</span></span> <code class="parameter">$visitable</code></span>): <span class="type"><span class="type">int</span>|<span class="type"><span class="type IVisitable">IVisitable</span></span>|<span class="type">null</span></span></div>


 </div>


 <div class="refsect1 parameters" id="refsect1-commonmark-interfaces-ivisitor.leave-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">visitable</code></dt>

    <dd>

     <p class="para">
      The current <span class="classname"><a href="class.commonmark-interfaces-ivisitable.html" class="classname">CommonMark\Interfaces\IVisitable</a></span> being exited
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-commonmark-interfaces-ivisitor.leave-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returning <var class="varname">CommonMark\Interfaces\IVisitor::Done</var> will cause the backing iterator to exit.
  </p>
  <p class="para">
  Returning <var class="varname">CommonMark\Interfaces\IVisitor::Enter</var> will reset the backing iterator at entering the current <span class="classname"><strong class="classname">IVisitable</strong></span>
  </p>
  <p class="para">
  Returning <var class="varname">CommonMark\Interfaces\IVisitor::Leave</var> will reset the backing iterator at exiting the current <span class="classname"><strong class="classname">IVisitable</strong></span>
  </p>
  <p class="para">
  Returning an <span class="classname"><strong class="classname">IVisitable</strong></span> will reset the backing iterator at exiting the given <span class="classname"><strong class="classname">IVisitable</strong></span>
  </p>
  <p class="para">
  Returning nothing will allow the backing iterator to continue
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-commonmark-interfaces-ivisitor.leave-seealso">
   <h3 class="title">参见</h3>
   <ul class="simplelist">
    <li class="member"><a href="commonmark-interfaces-ivisitable.accept.html" class="xref">CommonMark\Interfaces\IVisitable::accept</a></li>
   </ul>
  </div>



</div></div></div></body></html>